let mongoose=require('mongoose')
mongoose.connect('mongodb+srv://wang:wang123@cluster0.dycvax6.mongodb.net/project')
.then(()=>{
    console.log('数据库连接成功')
})
.catch(()=>{
    console.log('数据库连接失败')
})

